package com.sk.bilibili.mapper;

import com.sk.api.annotations.Mapper;
import com.sk.bilibili.bean.Favorites;
import com.sk.bilibili.dto.Res;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

@Mapper
public interface FavoritesMapper {

    @GET("favorites/getAll")
    Observable<Res<List<Favorites>>> getAll(@Query("memberId")Integer memberId,@Query("size")Integer size);

    @GET("favorites/getFavorites")
    Observable<Res<Favorites>> getFavorites(@Query("id")Integer id);

}